package com.qujia.fleet.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qujia.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;

public class FleetCardRechargeRecord {

    /** id */
    private Long id;

    /** 油企id */
    @Excel(name = "油企id")
    private Long enterpriseId;
    //油站id
    @Excel(name = "油站id")
    private Long stationId;

    /** 车队卡id */
    @Excel(name = "车队卡id")
    private Long fleetCardId;

    /** 账户余额 */
    @Excel(name = "账户余额")
    private BigDecimal balance;

    /** 充值金额 */
    @Excel(name = "充值金额")
    private BigDecimal rechargeAmount;

    /** 赠送金额 */
    @Excel(name = "赠送金额")
    private BigDecimal giftAmount;

    /** 充值后余额 */
    @Excel(name = "充值后余额")
    private BigDecimal afterBalance;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updatedBy;

    /** 删除标志 */
    @Excel(name = "删除标志")
    private Long del;

    //开票状态
    private int invoiceStatus;

    @ApiModelProperty(value = "车队卡充值类型：cz:充值，imp：手动增加，msub：手动扣减,cdk:车队卡消费")
    private String cardType;

    @ApiModelProperty(name = "备注")
    private String notes;

    @ApiModelProperty(name = "车队卡子卡id")
    private Long fleetCardSubId;

    @ApiModelProperty(name = "交易订单号")
    private String fleetOrderNo;

    @ApiModelProperty(name = "油品id")
    private Long oilId;

    @ApiModelProperty(name = "用户名")
    private String userName;

    @ApiModelProperty(name = "手机号")
    private String userPhone;

    public int getInvoiceStatus() {
        return invoiceStatus;
    }

    public void setInvoiceStatus(int invoiceStatus) {
        this.invoiceStatus = invoiceStatus;
    }

    public Long getStationId() {
        return stationId;
    }

    public void setStationId(Long stationId) {
        this.stationId = stationId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(Long enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public Long getFleetCardId() {
        return fleetCardId;
    }

    public void setFleetCardId(Long fleetCardId) {
        this.fleetCardId = fleetCardId;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public BigDecimal getRechargeAmount() {
        return rechargeAmount;
    }

    public void setRechargeAmount(BigDecimal rechargeAmount) {
        this.rechargeAmount = rechargeAmount;
    }

    public BigDecimal getGiftAmount() {
        return giftAmount;
    }

    public void setGiftAmount(BigDecimal giftAmount) {
        this.giftAmount = giftAmount;
    }

    public BigDecimal getAfterBalance() {
        return afterBalance;
    }

    public void setAfterBalance(BigDecimal afterBalance) {
        this.afterBalance = afterBalance;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

    public Long getDel() {
        return del;
    }

    public void setDel(Long del) {
        this.del = del;
    }

    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    public Long getFleetCardSubId() {
        return fleetCardSubId;
    }

    public void setFleetCardSubId(Long fleetCardSubId) {
        this.fleetCardSubId = fleetCardSubId;
    }

    public String getFleetOrderNo() {
        return fleetOrderNo;
    }

    public void setFleetOrderNo(String fleetOrderNo) {
        this.fleetOrderNo = fleetOrderNo;
    }

    public Long getOilId() {
        return oilId;
    }

    public void setOilId(Long oilId) {
        this.oilId = oilId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }
}
